package cn.mcartoon.pojo;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/***
*   漫画评论表
*/
@Data
public class MmCartoonComment implements Serializable {
    //主键ID
    private Long commentId;
    //类型   1-->评论漫画；2-->回复评论
    private Integer commentType;
    //漫画表主键ID
    private Long cartoonId;
    //评论内容
    private String content;
    //评论人用户ID
    private Long userId;
    //评论添加时间
    private Date addTime;
    //回复评论的主键ID
    private Long replyCommentId;
    //创建人
    private Long createdUserId;
    //修改人
    private Long updatedUserId;
    //是否删除(0:否,1:是)
    private Integer isDelete;
    //get set 方法
    public void setCommentId (Long  commentId){
        this.commentId=commentId;
    }
    public  Long getCommentId(){
        return this.commentId;
    }
    public void setCommentType (Integer  commentType){
        this.commentType=commentType;
    }
    public  Integer getCommentType(){
        return this.commentType;
    }
    public void setCartoonId (Long  cartoonId){
        this.cartoonId=cartoonId;
    }
    public  Long getCartoonId(){
        return this.cartoonId;
    }
    public void setContent (String  content){
        this.content=content;
    }
    public  String getContent(){
        return this.content;
    }
    public void setUserId (Long  userId){
        this.userId=userId;
    }
    public  Long getUserId(){
        return this.userId;
    }
    public void setAddTime (Date  addTime){
        this.addTime=addTime;
    }
    public  Date getAddTime(){
        return this.addTime;
    }
    public void setReplyCommentId (Long  replyCommentId){
        this.replyCommentId=replyCommentId;
    }
    public  Long getReplyCommentId(){
        return this.replyCommentId;
    }
    public void setCreatedUserId (Long  createdUserId){
        this.createdUserId=createdUserId;
    }
    public  Long getCreatedUserId(){
        return this.createdUserId;
    }
    public void setUpdatedUserId (Long  updatedUserId){
        this.updatedUserId=updatedUserId;
    }
    public  Long getUpdatedUserId(){
        return this.updatedUserId;
    }
    public void setIsDelete (Integer  isDelete){
        this.isDelete=isDelete;
    }
    public  Integer getIsDelete(){
        return this.isDelete;
    }
}
